type crypto/tls.cipherSuite
17 uses
crypto/tls (current package)
cipher_suites.go#L134: type cipherSuite struct {
cipher_suites.go#L148: var cipherSuites = []*cipherSuite{ // TODO: replace with a map, since the order doesn't matter.
cipher_suites.go#L175: func selectCipherSuite(ids, supportedIDs []uint16, ok func(*cipherSuite) bool) *cipherSuite {
cipher_suites.go#L611: func mutualCipherSuite(have []uint16, want uint16) *cipherSuite {
cipher_suites.go#L620: func cipherSuiteByID(id uint16) *cipherSuite {
common.go#L1163: rsaCipherSuite := selectCipherSuite(chi.CipherSuites, config.cipherSuites(), func(c *cipherSuite) bool {
common.go#L1240: cipherSuite := selectCipherSuite(chi.CipherSuites, config.cipherSuites(), func(c *cipherSuite) bool {
handshake_client.go#L31: suite *cipherSuite
handshake_server.go#L30: suite *cipherSuite
handshake_server.go#L368: func (hs *serverHandshakeState) cipherSuiteOk(c *cipherSuite) bool {
prf.go#L87: func prfAndHashForVersion(version uint16, suite *cipherSuite) (func(result, secret, label, seed []byte), crypto.Hash) {
prf.go#L101: func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) {
prf.go#L108: func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, serverRandom []byte) []byte {
prf.go#L121: func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte, macLen, keyLen, ivLen int) (clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV []byte) {
prf.go#L143: func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash {
prf.go#L254: func ekmFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte) func(string, []byte, int) ([]byte, error) {